package com.itheima;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Orders;
import com.itheima.bean.Params;
import com.itheima.dto.OrdersDto;

import java.util.Date;

public interface OrdersService {
    int add(Orders orders);

    IPage<Orders> fingPage(int page, int pageSize, String number, Date beginTime, Date endTime);

    IPage<OrdersDto> findUserOrders(Params param);
}
